package edu.sctu.yueding.adapter;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

import edu.sctu.yueding.R;
import edu.sctu.yueding.activitys.BaseActivity;


/**
 * Created by Administrator on 2016/8/15.
 */
public class ItemChooseLineListViewAdapter extends BaseAdapter {
    BaseActivity activity;
    ItemChooseLineListViewAdapter(BaseActivity activity){
        this.activity = activity;
    }
    @Override
    public int getCount() {
        return 3;
    }

    @Override
    public Object getItem(int position) {
        return position;
    }

    @Override
    public long getItemId(int position) {
        return position;
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {

            convertView = LayoutInflater.from(activity).inflate(R.layout.item_item_activity_activity_chooseline_listview,null);

        return convertView;
    }
}
